<?php 


include '../function.php';
include './Dongwu.class.php';
include './Dog.class.php';
include './Cat.class.php';
include './Che.class.php';
include './Fadon.class.php';
include './Baoma.class.php';
// include './IndexController.php';
// include './Application.php';


function  __autoload($clasName){
	include "./$clasName".".php";
}

//魔术常量

$obj = new IndexController();
// $obj->run();
// $obj->show();

// echo $obj->path;
// echo "<br/>";
// var_dump(isset($obj->path));
// unset($obj->pathaa);
// var_dump($obj->path);

// $obj->path = "我不是路径";
// var_dump($obj->path);

// $obj->pathapp = "我不是路径";

// $obj->jiao();

$obj = new Application();
$obj->run();







//接口
// $obj = new Baoma();
// $obj->sharen();


//抽象
// $obj = new Dog();
// $obj->pao();
// $obj->yao();

// $CatObj = new Cat();
// $CatObj->chi();





















 ?>